package com.project.transactionspringboot.repository.primary;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import com.project.transactionspringboot.domain.User;

@Repository
public interface UserPrimaryRepository extends JpaRepository<User, Long> {

	User findById(long id);

	User findByUserName(String userName);

	User findByUserNameOrEmail(String userName, String email);
}
